package cn.zyjw.service;

import cn.zyjw.domain.SysUser;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
public interface SysUserService extends IService<SysUser>{


    /**
     * 添加员工
     * @param sysUser
     * @return
     */
    boolean saveUser(SysUser sysUser);


    /**
     * 员工列表分页查询
     * @param page
     * @param queryWrapper
     * @return
     */
    Page<SysUser> pageList(Page<SysUser> page, QueryWrapper<SysUser> queryWrapper);

    /**
     * 编辑员工
     * @param sysUser
     * @return
     */
    boolean updUser(SysUser sysUser);

    /**
     * 批量删除员工
     * @param ids
     * @return
     */
    boolean delUserList(Long[] ids);
}
